package com.ruoyi.job.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;

import java.util.Date;

/**
 * 定时任务Excel导出实体类
 *
 * @author share
 */
public class SysJobExcel {

    /** 任务ID */
    @ExcelProperty("任务序号")
    private Long jobId;

    /** 任务名称 */
    @ExcelProperty("任务名称")
    private String jobName;

    /** 任务组名 */
    @ExcelProperty("任务组名")
    private String jobGroup;

    /** 调用目标字符串 */
    @ExcelProperty("调用目标字符串")
    private String invokeTarget;

    /** cron执行表达式 */
    @ExcelProperty("执行表达式 ")
    private String cronExpression;

    /** cron计划策略 */
    @ExcelProperty("计划策略 ")
    private String misfirePolicyText;

    /** 是否并发执行 */
    @ExcelProperty("并发执行")
    private String concurrentText;

    /** 任务状态 */
    @ExcelProperty("任务状态")
    private String statusText;

    /** 创建时间 */
    @ExcelProperty("创建时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 创建人 */
    @ExcelProperty("创建人")
    private String createBy;

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getInvokeTarget() {
        return invokeTarget;
    }

    public void setInvokeTarget(String invokeTarget) {
        this.invokeTarget = invokeTarget;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getMisfirePolicyText() {
        return misfirePolicyText;
    }

    public void setMisfirePolicyText(String misfirePolicyText) {
        this.misfirePolicyText = misfirePolicyText;
    }

    public String getConcurrentText() {
        return concurrentText;
    }

    public void setConcurrentText(String concurrentText) {
        this.concurrentText = concurrentText;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
}